﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Diagnostics;
using System.Threading;
using System.Text.RegularExpressions;
using System.Collections;
using CVS_log_parser;

namespace CVS_log_viewer
{
    class Program
    {
        static void Main(string[] args)
        {
            var coll = new CvsFileInfoCollection(@"c:\program files (x86)\cvsnt\cvs.exe", @"d:\users\mvorobyev\Sources\cvs\projects\ale\currentversion");
            var files = coll.Where(file => file.Revisions.Any(revision => revision.Date >= DateTime.Parse("December 8, 2011")));
            var c = 0;
            
            files.ToList().ForEach(file => Console.WriteLine("[{0}] {1}", c++, file.WorkingFileName));            
        }
    }
}
